vertex_ubyte4(buffer, byte, byte, byte, byte);
参数 | 描述 |
---|---|
buffer | The buffer to write the information to. |
byte | The first input value. |
byte | The second input value. |
byte | The third input value. |
byte | The fourth input value. |
返回: N/A(无返回值)
This function will add four unsigned byte values (0 - 255) to
the vertex data. The vertex must have been formatted correctly to
accept this using the vertex_format_add_custom
function.
vertex_ubyte4(buff, irandom(255), irandom(255), irandom(255), 127);
The above code will add four values to the vertex data being defined.